ALLDIRS = ['/home/mark/workspace/myfootstamppj/dist/lib/python2.6/site-packages']
import os, sys, site

prev_sys_path = list(sys.path)
for directory in ALLDIRS:
    site.addsitedir(directory)
new_sys_path = []
for item in list(sys.path):
    if item not in prev_sys_path:
       new_sys_path.append(item)
       sys.path.remove(item)
sys.path[:0] = new_sys_path

root_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '../'))
sys.path.append('/home/mark/workspace/myfootstamppj/myfootstamp')
sys.path.append('/home/mark/workspace/myfootstamppj')

os.environ['DJANGO_SETTINGS_MODULE'] = 'myfootstamp.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()

